package com.lm;

import java.util.HashMap;

/**
 *
 * @author Sajarwo Anggai
 */
public class LayerManager {

    private boolean show;
    private String name;
    private HashMap contaner;

    public LayerManager(String name, boolean show){
        this.name = name;
        this.show = show;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public boolean isShow() {
        return show;
    }

    public void setShow(boolean show) {
        this.show = show;
    }
    public void addValue(int x, int y, Object value){
        this.contaner.put(x+","+y, value);
    }
    public Object getValue(int x, int y){
        return this.contaner.get(x+","+y);
    }

    public HashMap getContaner() {
        return contaner;
    }
    
}
